﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Masterpage/QuanLy.Master" AutoEventWireup="true"
    CodeBehind="QuanLyDangKiCho.aspx.cs" Inherits="DT5_Anh09110006_Hung09110044_Vu09110157.QuanLy.QuanLyDangKiCho" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <title>Quản Lý Đăng Kí Chỗ</title>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <div id="quanlydangkicho">
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <asp:GridView ID="grvHV_DK" runat="server" AllowPaging="True" AutoGenerateColumns="False"
                    CellPadding="4" ForeColor="#333333" GridLines="None" 
                    onpageindexchanging="grvHV_DK_PageIndexChanging" 
                    onrowcommand="grvHV_DK_RowCommand">
                    <Columns>
                        <asp:BoundField HeaderText="STT" DataField="STT" />
                        <asp:BoundField HeaderText="Mã Lớp Đăng Kí" DataField="MaLopDK" />
                        <asp:BoundField HeaderText="Ngày Đăng Kí" DataField="NgayDangKi" />
                        <asp:BoundField HeaderText="Họ Và Tên" DataField="HoVaTen" />
                        <asp:BoundField HeaderText="Ngày Sinh" DataField="NgaySinh" DataFormatString="{0:dd/MM/yyyy}" />
                        <asp:BoundField HeaderText="Giới Tính" DataField="GioiTinh" />
                        <asp:BoundField HeaderText="Địa Chỉ" DataField="DiaChi" />
                        <asp:BoundField HeaderText="Điện Thoại" DataField="DienThoai" />
                        <asp:BoundField HeaderText="CMND" DataField="CMND" />
                        <asp:BoundField HeaderText="Email" DataField="Email" />
                        <asp:TemplateField>
                            <HeaderTemplate>Chức Năng</HeaderTemplate>
                            <ItemTemplate>
                                <asp:ImageButton ID="ImageButton3" ImageUrl="~/Image/delete_16x16.gif" CommandName="Xoa"
                                    CommandArgument='<%#Eval("STT")%>' runat="server" OnClientClick="return confirm('Bạn có chắc chắn muốn xóa không');" />
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <AlternatingRowStyle BackColor="White" />
                    <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" />
                    <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" />
                    <RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
                    <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" />
                    <SortedAscendingCellStyle BackColor="#FDF5AC" />
                    <SortedAscendingHeaderStyle BackColor="#4D0000" />
                    <SortedDescendingCellStyle BackColor="#FCF6C0" />
                    <SortedDescendingHeaderStyle BackColor="#820000" />
                </asp:GridView>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
</asp:Content>
